package com.sjb.stock.controller;

import com.sjb.stock.domain.InnerMarketDomain;
import com.sjb.stock.service.StockService;
import com.sjb.stock.vo.resp.R;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @FileName stockController
 * @Description
 * @Author chm
 * @date 2025-10-13
 **/

@RestController
@RequestMapping("/api/quot")
@Api(tags = "股票接口", value = "/api/**")
public class StockController {
    @Resource
    private StockService stockService;
    @RequestMapping("/innerIndexAll")
    public R<List<InnerMarketDomain>> innerIndexAll() {
        return stockService.innerIndexAll();
    }
}
